package net.cdsunrise.com.common.entity;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * @author: LiuWei
 * @date: Create in 14:47 2018/05/09
 */
public class SysRole implements Serializable {

    private int id;
    private String name;
    private String value;

    private Set<SysResource> sysResources = new HashSet<>();

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Set<SysResource> getSysResources() {
        return sysResources;
    }

    public void setSysResources(Set<SysResource> sysResources) {
        this.sysResources = sysResources;
    }
}
